package com.hkts.reportform.purchase.service;

import com.hkts.reportform.utils.CustomPage;

import java.text.ParseException;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * @ClassNamePurchaseService
 * @Description
 * @Author yck
 * @Date2020-11-17 10:35
 * @Version V1.0
 **/
public interface PurchaseService {
    public CustomPage selectInventoryByNameOrCode(String nameOrCode,CustomPage page);

    Map<String, Object> selectInventoryDetilByCode(String code) throws ExecutionException, InterruptedException;

    Map<String, Object> getOrderCountByDate(String dateType, String beginDate, String endDate) throws ParseException;

    CustomPage orderExecution(String dateType, String beginDate, String endDate, CustomPage page);
}
